Building a recipe app? Stop worrying about backend infrastructure and focus on the code. In this video, @peterfriese from the Firebase team shows you how to build a complete "cookbook" feature using Cloud Firestore and Swift.
You'll learn how to map your Swift structs directly to Firestore documents using Codable, making data handling a breeze. We’ll cover everything from saving your first recipe to listening for real-time updates, so your users always see the latest data across all their devices. Plus, we'll look at how to secure your data with Firestore Security Rules.
In this video, you'll learn:
* How to model your data with Swift structs, Identifiable, and Codable.
* Performing CRUD operations: Create, Read, Update, and Delete.
* The difference between one-time fetches and real-time Snapshot Listeners.
* How to handle optional fields and partial updates.
* Essential tips for writing Firestore Security Rules.
Chapters
0:00 - Introduction
1:12 - Data Modeling with Swift Structs
1:46 - Firestore Concepts: Documents & Collections
2:38 - Mapping Data with Codable
3:15 - Saving Data (Create)
3:58 - Real-time Updates (Read)
5:28 - Updating Data (Update)
7:20 - Deleting Data (Delete)
7:43 - Feature Demo
8:57 - Security Rules
9:37 - Conclusion
Resources:
Friendly Meals Sample App (GitHub) →
Map Firestore documents to Swift Codable →
Firestore Documentation →
Watch more Firebase Fundamentals →
Subscribe to Firebase →
#firebase #swift #iosdevelopment #firestore #swif
|
Learn how Chrome handles permission upda...
Building a recipe app? Stop worrying abo...
🔥AI-Powered Digital Marketing Certificat...
For only $1, you can claim a 1GB Residen...
🔥PGP in Generative AI and ML in collabor...
Looking to streamline your development p...
🔥The Smart Shield: AI-Powered Cybersecur...
🔥Data Analyst Masters Program (Discount ...
Want to know what GitHub is and why it's...
🔥Microsoft AI Engineer Program - 🔥Part...
In this Python FastAPI tutorial, we'll b...
In this Python FastAPI tutorial, we'll b...
Learn how to benchmark embedding models ...
In this Python FastAPI tutorial, we'll b...
In this series of videos, we'll be learn...